package net.diaowen.dwsurvey.service;


import java.util.List;
import java.util.Map;

import net.diaowen.common.base.entity.User;
import net.diaowen.common.plugs.page.Page;
import net.diaowen.common.service.BaseService;
import net.diaowen.dwsurvey.entity.LotteryPrize;
import net.diaowen.dwsurvey.entity.LotteryUser;
import net.diaowen.dwsurvey.entity.LotteryUserDetail;
import net.diaowen.dwsurvey.entity.PrizeType;
import net.diaowen.dwsurvey.entity.StudentLottery;
import net.diaowen.dwsurvey.entity.StudentSurvey;

/**
 * 奖项设置Manager
 * @author zhangyuting
 * @date 2019年6月20日
 *
 */
public interface LotteryUserManager extends BaseService<LotteryUser, String>{
	
	public LotteryUserDetail initApprovalPage(String lauId,String wxid);
	
	public LotteryUserDetail getLotteryUserDetail(String id);
	
	public void saveLotteryUserDetail(LotteryUserDetail lotteryUserDetail);
	
	public Map<String,Object> initLotteryPage(String surveyId,String wxid);
	
	public Long getUserLotteryedTimes(String surveyId,String wxid);
	
	public Map findUserLotterPrize(String answerId,String wxid);

}
